import request from '/@/utils/request';

export const flushNewsList = () => {
    return request({
        url: '/admin/gatherNews/flush',
        method: 'get',
    })
}

export const getPageNewsList = (query?: Object) => {
    return request({
        url: '/admin/gatherNews/page',
        method: 'post',
        params: query,
    });
}